package com.fangzhi.mobel.vo;

import com.fangzhi.utils.GlobalParam;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class LoginVo implements Serializable {

    private Long id;
    private String name;
    private String nickName;
    private String mobile;
    private Integer gender;
    private String avatar = GlobalParam.IMAGE_URL + "moren.jpeg";
    private String userCode;
    private String fangzhi;
    private Integer roleId;
    private String roleName;
//    public void setAvatar(String avatar) {
//        if (avatar != null)
//            this.avatar = GlobalParam.IMAGE_URL + avatar;
//    }
}
